<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
    <head>
        <title>Hyphenator.js &ndash; Test 74</title>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
        <style type="text/css">
            body {
                width:50%;
                margin-left:25%;
                margin-right:25%;
            }
            .text {
                text-align:justify;
            }
            .test {
            	background-color: #ffd6d6;
            }
            .ref {
            	background-color: #d6ffd6;
            }
            pre {border: 1px dotted grey;}
        </style>
        <script src="../Hyphenator.js" type="text/javascript"></script>
        <script type="text/javascript">
                Hyphenator.config({
                	hyphenchar:'|',
                	minwordlength: 4,
                	safecopy: false
                });
                Hyphenator.run();
        </script>
    </head>
    <body>
        <h1>Test 74</h1>
        <p>Make use of additional information of the language tag (en-GB vs. en-US)</p>
		<p><a href="test73.html">&lt;- Prev</a> | <a href="test75.html">Next -&gt;</a></p>
        <pre>Hyphenator.config({hyphenchar:'|'});
Hyphenator.run();</pre>

		<h2>en-GB</h2>
        <p class="hyphenate test" lang="en-GB">color colour / A hyphenation algorithm is a set of rules that decides at which points a word can be broken over two lines with a hyphen.</p>
        <p class="ref" lang="en">color col|our / A hy|phen|a|tion al|gorithm is a set of rules that de|cides at which points a word can be broken over two lines with a hy|phen.</p>
		<h2>en-US</h2>
        <p class="hyphenate test" lang="en-US">color colour / A hyphenation algorithm is a set of rules that decides at which points a word can be broken over two lines with a hyphen.</p>
        <p class="ref" lang="en">col|or colour / A hy|phen|ation al|go|rithm is a set of rules that de|cides at which points a word can be bro|ken over two lines with a hy|phen.</p>
	</body>
</html>